rem Create all tables
FOR /F "tokens=*" %%i in ('dir /b /s .\Tables\*.sql') do sqlcmd -S "%computername%\SQLEXPRESS" -d RaidAssist -i "%%i"

rem Create all sprocs
FOR /F "tokens=*" %%i in ('dir /b /s .\Sprocs\*.sql') do sqlcmd -S "%computername%\SQLEXPRESS" -d RaidAssist -i "%%i"

rem Create data
sqlcmd -S "%computername%\SQLEXPRESS" -d RaidAssist -i ".\Data\Populate Core Data.sql"

pause